<template>
  <div class="left-top">
    <nav class="title"></nav>
    <main class="main">
      <div class="left">
        <h5>项目重点进度</h5>
        <div class="pre-chart">
          <Left></Left>
        </div>
      </div>
      <div class="right">
        <h5>重点项目节点进度</h5>
        <div class="bar-chart">
          <Right></Right>
        </div>
      </div>
    </main>
  </div>
</template>

<script setup lang="ts" name="LeftTop">
import Left from "./leftTop/Left.vue";
import Right from './leftTop/Right.vue'
</script>

<style scoped lang="less">
.left-top{
  width: 490px;
  height: 263px;
  position: absolute;
  left: 10px;
  top: 75px;
  .title{
    width: 450px;
    height: 35px;
    margin: 13.22px 10px 0 10px;
    background-image: url(../assets/left-top.svg);
  }
  .main{
    width: 100%;
    height: 240px;
    box-sizing: border-box;
    padding-left: 20px;
    display: flex;
    justify-content: flex-start;
    h5{
      color: #a0b5e1;
      margin-bottom: 0;
    }
    .left{
      width: 45%;
      height: 100%;
      text-align: center;
      .pre-chart{
        width: 100%;
        height: 200px;
      }
    }
    .right{
      width: 55%;
      height: 100%;
      text-align: center;
      .bar-chart{
        width: 100%;
        height: 200px;
      }
    }
  }
}
</style>
